home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form NewForm
- BackColor = &H00C0C0C0&
- BorderStyle = 1 'Fixed Single
- Caption = "New..."
- ClientHeight = 1725
- ClientLeft = 2730
- ClientTop = 1785
- ClientWidth = 3240
- Height = 2130
- Left = 2670
- LinkTopic = "Form3"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 1725
- ScaleWidth = 3240
- Top = 1440
- Width = 3360
- Begin TextBox TableName
- Height = 285
- Left = 240
- TabIndex = 5
- Top = 1320
- Width = 2775
- End
- Begin SSOption NewType
- Caption = "Order List"
- Font3D = 0 'None
- Height = 255
- Index = 2
- Left = 180
- TabIndex = 4
- Top = 780
- Width = 1515
- End
- Begin SSOption NewType
- Caption = "Customer List"
- Font3D = 0 'None
- Height = 255
- Index = 1
- Left = 180
- TabIndex = 3
- Top = 480
- Width = 1515
- End
- Begin CommandButton CancelButton
- Caption = "Cancel"
- Height = 375
- Left = 2100
- TabIndex = 2
- Top = 600
- Width = 975
- End
- Begin CommandButton OkButton
- Caption = "OK"
- Default = -1 'True
- Height = 375
- Left = 2100
- TabIndex = 1
- Top = 180
- Width = 975
- End
- Begin SSOption NewType
- Caption = "Parts List"
- Font3D = 0 'None
- Height = 255
- Index = 0
- Left = 180
- TabIndex = 0
- Top = 180
- Width = 1515
- End
- Begin Label Label1
- BackColor = &H00C0C0C0&
- Caption = "Name of new table:"
- Height = 255
- Left = 240
- TabIndex = 6
- Top = 1080
- Width = 1815
- End
- Sub CancelButton_Click ()
- Unload NewForm
- DialogCancel = True
- End Sub
- Sub Form_Load ()
- CenterForm NewForm
- SetStatus "Choose type and name for new table in " & DialogParm
- End Sub
- Sub OkButton_Click ()
- ' Set DialogParm to the proper value for return
- DialogCancel = False
- If NewType(0).Value Then
- DialogParm = ID_NEW_PARTS
- ElseIf NewType(1).Value Then
- DialogParm = ID_NEW_CUST
- ElseIf NewType(2).Value Then
- DialogParm = ID_NEW_OBROWSE
- End If
- DialogParm2 = TableName.Text
- Unload NewForm
- End Sub
-